<?php
require_once(dirname(__FILE__).'/config.php');
require_once(DEDEINC."/datalistcp.class.php");
if(!$cfg_ml->IsLogin())
	{
		include_once(dirname(__FILE__)."/templets/index-notlogin.htm");
	}


	 
	 
    $query = "select * from #@__member_pms where toid ='".$cfg_ml->M_ID."'";
    $dlist = new DataListCP();
	$dlist->pageSize = 20;
	$dlist->SetParameter("ftype",$ftype);
	$dlist->SetTemplate(dirname(__FILE__).'/templets/edit_dyq.htm');
	$dlist->SetSource($query);
	$dlist->Display();



?>